
import Vue from 'vue'
import App from './App'
import router from './router'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css';
import './assets/css/style.less'
import store from './store'
import VideoPlayer from 'vue-video-player'
import 'video.js/dist/video-js.css'
import "vue-video-player/src/custom-theme.css";
//全局注册基于Vue的markdown编辑器mavon-editor
import mavonEditor from 'mavon-editor'
import 'mavon-editor/dist/css/index.css'
//使用mavon-editor
Vue.use(mavonEditor)


Vue.config.productionTip = false
Vue.use(ElementUI)
Vue.use(VideoPlayer)


new Vue({
  el: '#app',
  beforeCreate() {
    Vue.prototype.$bus = this;
  },
  router,
  components: { App },
  template: '<App/>',
  store
})
